#include <iostream>
using namespace std;
int main()
{
char ch;
int n;
cin>>ch;
n=ch;
cout <<ch<<' '<<n<<endl;
return 0;  	
}
//输入A=A 65 
